package com.example.bzh.gamecat.ui.society;

import com.example.bzh.gamecat.bean.SocietyBean;
import com.example.bzh.gamecat.httputils.societyutils.SocietyHttpUtil;
import com.example.bzh.gamecat.mvp.IBaseModel;
import com.example.bzh.gamecat.mvp.IBasePresenter;
import com.example.bzh.gamecat.mvp.IBaseView;

import java.util.HashMap;

/**
 * Created by MyPC on 2016/8/13.
 */
public class SocietyContract {

    public interface IView extends IBaseView{
       public void OnSeccessGetSociety(SocietyBean societyBean);
       public void OnFailGetSociety(String str);
    }

    public interface IPresenter extends IBasePresenter{
        public void initData(HashMap<String,String> params);
    }

    public interface IModel extends IBaseModel{
        public void getSociety(HashMap<String,String> params, SocietyHttpUtil.HttpCallBack<SocietyBean> callBack);
    }

}
